@echo on

set PythonEXE=C:\Python25\python.exe
set EXESetup=setup.py
set ProjectName=BookCollections

::Compile the Python-Script
%PythonEXE% %EXESetup% py2exe
if not "%errorlevel%"=="0" (
        echo Py2EXE Error!
        pause
        goto:eof
)

::copy c:\Program Files\Common Files\GTK\2.0\etc dist\%ProjectName%
::copy c:\Program Files\Common Files\GTK\2.0\lib dist\%ProjectName% 
